package com.pxst.fo.sys.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class FoOrderChildReq {

    @ApiModelProperty(value = "系统可用银行id")
    private Long availablebankId;

    @ApiModelProperty(value = "商户id")
    private Long merchantInfoId;

    @ApiModelProperty(value = "银行卡群组id")
    private Long bankCardGroupId;

    @NotBlank(message ="币种不能为空")
    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "用户发起金额")
    private BigDecimal requestAmount;

    @ApiModelProperty(value = "子代付ID")
    private String altId;

    @ApiModelProperty(value = "代付主订单ID")
    private String foOrderChildAltId;

    @ApiModelProperty(value = "创建时间")
    private Date startDate;

    @ApiModelProperty(value = "创建时间")
    private Date endDate;

    @ApiModelProperty(value = "更新时间")
    private Date updatedStartDate;

    @ApiModelProperty(value = "更新时间")
    private Date updatedEndDate;

    @ApiModelProperty(value = "账号代码")
    private String from;

    @ApiModelProperty(value = "to")
    private String to;

    @NotNull(message = "当前页面显示条数不能为空")
    @ApiModelProperty(value = "当前页面显示条数", required = true)
    private Integer rp;

    @NotNull(message = "页数不能为空")
    @ApiModelProperty(value = "页数", required = true)
    private Integer page;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "参考编号")
    private String reference;

    @ApiModelProperty(value = "附言")
    private String postscript;

    @ApiModelProperty(value = "VND OTP")
    private String vndOtp;

    @ApiModelProperty(value = "VND 出款方式")
    private String vndPaymentMethod;

    @ApiModelProperty(value = "交易种类")
    private Integer txnMode;

}
